﻿using System;
namespace Bus.Model
{
	/// <summary>
	/// 乘客人员信息表
	/// </summary>
	
	public partial class CustomModel
	{
        public CustomModel()
		{}
		#region Model
		private int _cid;
		private int? _logid;
		private int? _tb__id;
		private string _cname;
		private string _password;
		private string _id;
		private int? _sex;
		private int? _age;
		private string _idnum;
		private bool _islost;
		private int? _ctype;
		private DateTime? _regdate;
		private int? _coastid;
		private string _cardnumber;
		private int? _routeid;
        private string _nmcrad;

        /// <summary>
        /// 卡号
        /// </summary>
        public string Nmcrad
        {
            get { return _nmcrad; }
            set { _nmcrad = value; }
        }
		/// <summary>
		/// 乘客id
		/// </summary>
		public int cid
		{
			set{ _cid=value;}
			get{return _cid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? logid
		{
			set{ _logid=value;}
			get{return _logid;}
		}
		/// <summary>
		/// 线路id
		/// </summary>
		public int? tb__id
		{
			set{ _tb__id=value;}
			get{return _tb__id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string cname
		{
			set{ _cname=value;}
			get{return _cname;}
		}
		/// <summary>
		/// 乘客登录系统时的密码
		/// </summary>
		public string password
		{
			set{ _password=value;}
			get{return _password;}
		}
		/// <summary>
		/// 系统分配给乘客的卡号，充值时使用该号进入充值
		/// </summary>
		public string id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 乘客性别 0 男       1女
		/// </summary>
		public int? sex
		{
			set{ _sex=value;}
			get{return _sex;}
		}
		/// <summary>
		/// 乘客年龄
		/// </summary>
		public int? age
		{
			set{ _age=value;}
			get{return _age;}
		}
		/// <summary>
		/// 乘客身份证号
		/// </summary>
		public string idnum
		{
			set{ _idnum=value;}
			get{return _idnum;}
		}
		/// <summary>
		/// 用户是否挂失  0 启用      1挂失
		/// </summary>
		public bool islost
		{
			set{ _islost=value;}
			get{return _islost;}
		}
		/// <summary>
		/// 乘客的类型   0老年人     1为成年人        2学生
		/// </summary>
		public int? ctype
		{
			set{ _ctype=value;}
			get{return _ctype;}
		}
		/// <summary>
		/// 注册时间
		/// </summary>
		public DateTime? regdate
		{
			set{ _regdate=value;}
			get{return _regdate;}
		}
		/// <summary>
		/// tb_coast表中乘客的充值表
		/// </summary>
		public int? coastid
		{
			set{ _coastid=value;}
			get{return _coastid;}
		}
		/// <summary>
		/// 证件编号
		/// </summary>
		public string cardnumber
		{
			set{ _cardnumber=value;}
			get{return _cardnumber;}
		}
		/// <summary>
		/// 线路id
		/// </summary>
		public int? routeid
		{
			set{ _routeid=value;}
			get{return _routeid;}
		}
		#endregion Model

	}
}

